package com.csst.business.dao;


import java.util.List;

import com.csst.business.model.Award;
import com.csst.business.model.Awresult;
import com.csst.business.model.TTrUser;

public interface IAwardDao extends BaseDao {

	public void saveAwardData(Award award);

	public void saveAwresultData(Awresult awresult);
 
	public int saveAwresultData(String openid);

	public int getScrathCount(String openid);

	public int getResultTotle();

	public List<Awresult> getAllResultList(int startNum, int endNum);

	public void updateResult(String id);

	public int getResultTotle(String userOpenId);

	public List<Awresult> getAllResultList(String userOpenId, int startNum, 
			int endNum);     
	
}
